<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 *  人工补 充值奖励（一天）
 */
class AdminInviteReward extends Model
{
    protected $table = 'admin_invite_reward';

    public function userprofile()
    {
        return $this->belongsTo(UserProfile::class, 'user_id', 'user_id');
    }

    public function invited()
    {
        return $this->belongsTo(UserProfile::class, 'invited_user_id', 'user_id');
    }

}
